package impl;

import java.util.Date;

import interfaces.forAgents.IConstraintAccess;
import interfaces.forAgents.IPlageHoraire;
import interfaces.forAgents.ISubscriptionAccess;
import reservation.PlageHoraire;
import mysticedt.Data;
import mysticedt.LifeManager.Agent;

public class DataImpl extends Data {
	public class AgentSide extends Agent {

		@Override
		protected IPlageHoraire plageHoraireBooking() {
			return new IPlageHoraire() {
				
				// FIXME l'interface n'est pas bien foutue. cf IPlageHoraire
				public boolean reserverCreneau(int idPh) {
					// TODO
					return false;
				}
				
				public PlageHoraire demanderCreneau(Date limite, int dure) {
					// TODO Auto-generated method stub
					return null;
				}

				public boolean reserverCreneau(int idPh, int proprio) {
					// TODO Auto-generated method stub
					return false;
				}
			};
		}

		@Override
		protected IConstraintAccess constraintAccess() {
			// TODO Auto-generated method stub
			return null;
		}

		@Override
		protected ISubscriptionAccess subsciptionAccess() {
			// TODO Auto-generated method stub
			return null;
		}
		
	}
}
